package com.bort.system.info;

import lombok.Data;

import java.math.BigDecimal;

@Data
public class CheckOutResult {
    BigDecimal totalMoney;
    String totalTime;
    BigDecimal hour;
    BigDecimal minute;
    public CheckOutResult(BigDecimal totalMoney,BigDecimal hour,BigDecimal minute) {
        this.totalMoney = totalMoney;
        this.hour = hour;
        this.minute = minute;
        this.totalTime = hour.toString()+"小时"+minute.toString()+"分钟";
    }
}
